const ejs = require('ejs')
const fs = require('fs')

const arr = ['carter','binbin']

const str = fs.readFileSync(__dirname + '/index.html').toString()

let res = ejs.render(str,{arr,name:'carter'})

console.log(res);
